<?php
    $data = $this->requestAction('block/footer');

?>
<footer>
			<div class="f-top">
				<div class="f-title">
					<div class="f-title-first">&nbsp</div>

                    <?php
                        $i = 1;
                        foreach($data['footer_menu'] as $menu)
                        {   
                    ?>
					<div class="<?php echo $menu['menu']['other'] ?> f_col_<?php echo $i++; ?>">
						<?php echo $menu['menu_desc']['title'] ?>
					</div>
                    <?php
                        }
                    ?>
				</div>
				<div class="f-content">
					<div class="f-content-first">&nbsp</div>
					<div class="col-3">
						<ul class="social">
                        <?php
                            if(@$settings['social_facebook'] != '')
                                echo '<li><a href="'.$settings['social_facebook'].'" class="fb">Facebook</a></li>';
                            if(@$settings['social_twitter'] != '')
                                echo '<li><a href="'.$settings['social_twitter'].'" class="tw">Twitter</a></li>';
                            if(@$settings['social_google'] != '')
                                echo '<li><a href="'.$settings['social_google'].'" class="gp">Google+</a></li>';
                            if(@$settings['youtube'] != '')
                                echo '<li><a href="'.$settings['youtube'].'" class="yt">YouTube</a></li>';
                        ?>
						</ul>
					</div>
					<div class="col-3-5">
						<ul class="bullet">
                        <?php
                            foreach($data['ve_chung_toi'] as $menu)
                            {
                        ?>
							<li>
								<a href="<?php echo $this->General->base_url() . $menu['menu_desc']['link'] ?>"><?php echo $menu['menu_desc']['title'] ?></a>
							</li>
                        <?php
                            }
                        ?>
						</ul>
					</div>
					<div class="col-3-5">
						<ul class="bullet">
							<?php
                            foreach($data['tai_khoan_cua_ban'] as $menu)
                            {
                        ?>
							<li>
								<a href="<?php echo $this->General->base_url() . $menu['menu_desc']['link'] ?>"><?php echo $menu['menu_desc']['title'] ?></a>
							</li>
                        <?php
                            }
                        ?>
						</ul>
					</div>
					<div class="col-4-5">
                        <p class="mb_menu_footer_4"><?php $this->General->translate('helps') ?></p>
						<ul class="bullet">
							<?php
                            foreach($data['tro_giup'] as $menu)
                            {
                        ?>
							<li>
								<a href="<?php echo $this->General->base_url() . $menu['menu_desc']['link'] ?>"><?php echo $menu['menu_desc']['title'] ?></a>
							</li>
                        <?php
                            }
                        ?>
						</ul>
					</div>
					<div class="col-5 col-5-5 newletter">
                        <p class="mb_menu_footer_5"><?php $this->General->translate('register_newletter') ?></p>
						<span class="title_newsletter"><?php $this->General->translate('Đăng ký email để nhận được ưu đãi mỗi ngày') ?></span>
						<form id="newsletter" action="" method="">
							<input type="text" value="" placeholder="<?php $this->General->translate('your_email') ?>" />
                            <br />
							<div class="sex">
								<input id="male" type="radio" name="sex" value="1"/>
								<label for="male">
									<span><?php $this->General->translate('gender_men') ?></span>
								</label>
								
							</div>
							<div class="sex">
								<input id="female" type="radio" name="sex" value="0"/>
								<label for="female">
									<span><?php $this->General->translate('gender_women') ?></span>
								</label>
								
							</div>
							<input type="submit" value="<?php $this->General->translate('register') ?>" />
						</form>
						<span class="txt"><?php $this->General->translate('kept_secret_information') ?></span>
					</div>
				</div>
			</div>

			<div class="copyright">
				<div class="copyright-first">&nbsp</div>
				<div class="logo">
					<img src="<?php echo $this->webroot . @$settings['logo_footer'] ?>"/>
				</div>
				<div class="txt">
                    <?php $this->General->translate('copyright') ?>
					
				</div>
                <a class="scroll-top" href=""><img src="<?php echo $this->webroot ?>images/scroll-top.png" /></a>
			</div>
			<div class="box-color">
				<div class="type-1"></div>
				<div class="type-2"></div>
				<div class="type-3"></div>
				<div class="type-4"></div>
				<div class="type-5"></div>
			</div>
		</footer>